.colorPicker {
  position: relative;
  display: inline-block;
}

.icon {
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.icon:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.panel {
  position: absolute;
  width: 200px;
  height: 240px;
  top: 40px;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.changColor {
  padding: 16px;
  display: flex;

}

.select {
  width: 200px;
  display: flex;
  /* flex-direction: column; */
}

.main {
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  border-radius: 4px;
  cursor: crosshair;
  border: 1px solid #eee;
}

.hueBar {
  width: 24px;
  height: 100px;
  margin-bottom: 12px;
  cursor: pointer;
  border: 1px solid #eee;
}

.input {
  width: 100px;
  margin-bottom: 12px;
  text-align: center;
  padding: 4px 8px;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 14px;
}

.preview {
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  border-radius: 4px;
}

.actions {
  display: flex;
  gap: 12px;
}

.actions button {
  padding: 6px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.actions button:first-child {
  background: #f5f5f5;
  color: #333;
}

.actions button:first-child:hover {
  background: #e8e8e8;
}

.actions button:last-child {
  background: #1890ff;
  color: #fff;
}

.actions button:last-child:hover {
  background: #40a9ff;
}